﻿using System;
using System.Collections.Generic;
using System.Text;

namespace iPdf
{
    class PasswordValidator: IValidator
    {
        private const int minimumPasswordLength = 6;

        public bool IsValidString(string value)
        {
            if (string.IsNullOrEmpty(value))
            {
                return false;
            }

            return value.Length >= minimumPasswordLength;
        }
    }
}
